An interface to the diagonal extraction routines.
Extracts the diagonal of a matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:,:) | :: | a |
The M-by-N matrix. |
The MIN(M, N) element array for the diagonal elements.
Extracts the diagonal of a matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=real64), | intent(in), | dimension(:,:) | :: | a |
The M-by-N matrix. |
The MIN(M, N) element array for the diagonal elements.
Extracts the diagonal of a matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(csr_matrix), | intent(in) | :: | a |
The M-by-N matrix. |
The MIN(M, N) element array for the diagonal elements.